<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class User
{
    function is_user_logged_id() {
        $ci =& get_instance();
        return $ci->session->userdata('account') ? true : false;
    }

    function is_character_logged_id() {
        $ci =& get_instance();
        return $ci->session->userdata('charId') ? true : false;
    }
}
